<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<s:layout-render name="/layout_template.jsp" nadpis="businessTrip.closeHeading">    
    <s:layout-component name="telo">
        <s:useActionBean beanclass="cz.muni.fi.pa165.carparkweb.actionbeans.EmployeeActionBean" var="actionBean"/>
        <s:form beanclass="cz.muni.fi.pa165.carparkweb.actionbeans.EmployeeActionBean" style="margin-top: 200px">
            <s:hidden name="businessTrip.id" />
            <s:hidden name="employee.id"/>
            <div id="form">
                <s:errors/>
                 <div class="row"><s:label class="col1"  name="businessTrip.employeeForm" for="s2"/>
                 <span class="col2">
                     <c:out value="${actionBean.employee.name}"/>   
                 </span>
                </div>
                <div class="row"><s:label class="col1"  name="businessTrip.drivenForm" for="s1" />
                    <span class="col2"><s:text class="input" name="drivenKms" size="20" tabindex="1"/></span>
                </div>                 
                <div class="submit">
                    <s:submit name="close2"><f:message key="businessTrip.closeTrip" /></s:submit>                
                    <s:submit name="listTripsForEmployee"><s:param name="employee.id" value="${actionBean.employee.id}"/><f:message key="back"/></s:submit>
                </div>
            </div>
        </s:form> 
    </s:layout-component>
</s:layout-render>

